Share via


CEL_SEM_CREATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CEL_HEADER
CreateSemaphore