wpQueryDriveLockStatus - Syntax

This method is specific to version 2.1, or higher, of the OS/2 operating system.

This instance method returns the lock status of a drive.

#define INCL_WINWORKPLACE
#include <os2.h>

WPDisk     *somSelf;        /*  Pointer to the object on which the method is being invoked. */
PULONG      pulLockStatus;  /*  Pointer to the lock status of the drive. */
PULONG      pulLockCount;   /*  Number of locks against the drive. */
ULONG       rc;             /*  Return code from DosDevIOCtl category 8 Function 66. */

rc = _wpQueryDriveLockStatus(somSelf, pulLockStatus,
       pulLockCount);


[Back: wpQueryDriveLockStatus]
[Next: wpQueryDriveLockStatus Parameter - somSelf]