CEL_SEM_CREATE

This structure is used to identify a semaphore that was created or opened with CreateSemaphore.

typedef struct __CEL_SEM_CREATE {
  HANDLE hSem;
  DWORD dwInitCount;
  DWORD dwMaxCount;
  WCHAR szName[0];
} CEL_SEM_CREATE, *PCEL_SEM_CREATE;

Members

  • hSem
    Handle of the semaphore that was created.
  • dwInitCount
    Corresponds to the lInitialCount parameter of CreateSemaphore.
  • dwMaxCount
    Corresponds to the lMaximumCount parameter of CreateSemaphore.
  • szName
    Null-terminated string that corresponds to the lpName parameter of CreateSemaphore. The length of the name can be inferred from the length given in the event header, CEL_HEADER.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Celog.h.

See Also

CEL_HEADER | CreateSemaphore

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.