API 文件集 > Family table > Object ProFaminstance > Function ProFaminstanceLock
Function ProFaminstanceLock
Description
Locks or unlocks the specified instance.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFaminstance.h>
ProFaminstanceLock
(
/* (In)
The instance handle.
*/
int lock_it
/* (In)
If this is TRUE, lock the instance; otherwise, unlock it.
*/
)
Returns
The function successfully locked or unlocked the instance.
The specified instance does not exist in the family table.
A general error occurred and the function failed (for example, the generic does not exist in session, or the function could not find the family table).
Sample Code References
這是否有幫助?