Compartilhar via


CEL_SEM_CREATE (Compact 2013)

3/28/2014

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

Syntax

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

Header

celog.h

See Also

Reference

CeLog Event Tracking Structures
CEL_HEADER
CreateSemaphore